DBT Integration
erwin DM integrates with DBT (Data Build Tool). This feature automatically generates DBT-compatible YAML files from models saved in erwin Mart Portal and opened in erwin DM. You can use these files to create data tables and transformations, improving efficiency and consistency.
Depending on your requirements, use the options in the DBT Integration Manager to define the file format and columns ordering for generating YAML files.
Generating YAML Files
To generate YAML files, follow these steps :
- On the ribbon, click Mart > DBT Integration.
-
The DBT Integration Manager opens.
By default, the File Details tab opens.
- Click the File Format drop-down list, and select one of the following options:
- Model: Specifies that the generated YAML file defines the model as a transformational file for DBT, including column metadata, tests, and inter-model relationships.
- Source: Specifies that the generated YAML file defines the model as raw tables, including location, columns, tests, and relationships.
- Select the preferred order from the Columns Ordering drop-down list:
- Attributes_Order_Ref: Specifies that the column ordering aligns with the logical order of attributes defined in the data model.
- Columns_Order_Ref: Specifies that the column ordering aligns with the physical order in which columns are defined in the table.
- Physical_Columns_Order_Ref: Specifies that the column ordering aligns with the physical layout of columns as stored in the database.
- Click Next.
- The Preview tab opens and displays the YAML script.
-
Save (
): Use this option to save the generated script in the YAML format. Save this file as DDL.
-
Print (
): Use this option to print the generated script.
-
Search (
): Use this option to search for a word or characters in the schema.
-
Copy (
): Use this option to copy the script.
-
Replace (
): Use this option to find and replace characters in the script.
-
Text Options (
): Use this option to configure the preview text editor's look and feel, such as window, font, and syntax color settings.
- Click Ok.
The YAML file is generated and saved locally.

Use the following options:
Copyright © 2025 Quest Software, Inc. |